﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Pages_Sitemap : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            double sl = GioHang.TongSanpham();
            double tg = GioHang.TongTrigia();
            Label SL = this.Page.Master.FindControl("SLuong") as Label;
            SL.Text = "<b>" + sl.ToString() + "<b>";
            Label TGia = this.Page.Master.FindControl("TGia") as Label;
            TGia.Text = "<b>" + tg.ToString() + "<b>";
        }
    }
}